package com.dynabook.ems.model.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;

/**
 * 取消工单请求DTO
 */
@Data
@ApiModel(value = "取消工单请求", description = "取消工单的请求参数")
public class CancelWorkOrderRequest {
    
    @ApiModelProperty(value = "工单号", example = "WO202501001", required = true)
    @NotBlank(message = "工单号不能为空")
    private String workOrderNumber;
}